package com.train.batch.req;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditJobReq {

    @NotBlank(message = "任务名称不能为空")
    private String jobName;

    @NotBlank(message = "任务组名不能为空")
    private String groupName;

    @NotBlank(message = "cron表达式不能为空")
    private String cronExpress;
}
